package com.mycompany.crm.service;

import com.mycompany.crm.base.BaseMapper;
import com.mycompany.crm.query.CustomerContactQuery;
import com.mycompany.crm.vo.CustomerContact;

import java.util.Map;

/**
 * @author jy
 * @version 1.0
 * @date 2022/4/24 17:32
 */
public interface CustomerContactService extends BaseMapper<CustomerContact,Integer> {
    /**
     * 多条件分页查询交往记录
     * @param customerContactQuery
     * @return
     */
    Map<String, Object> queryCustomerContactByParams(CustomerContactQuery customerContactQuery);

    /**
     * 添加交往记录
     * @param customerContact
     */
    void addCustomerContact(CustomerContact customerContact);

     /**
     * 修改交往记录
     * @param customerContact
     * */

    void updateCustomerContact(CustomerContact customerContact);


    /**
     * 删除交往记录
     * @param id
     */
    void deleteCustomerContact(Integer id);
}
